import request from "@/utils/request"


export function CreateDistributorApi(data) {
  return request({
    url: '/seller/addSeller',
    method: 'post',
    data
  })
}

export function getDistributorApi(query) {
  return request({
    url: '/seller/page',
    method: 'get',
    params:query
  })
}